#ifndef UTILITIES_HH
#define UTILITIES_HH

#include <string>
#include <random>
#include <ctime>
#include <iomanip>
#include <sstream>
#include "main.hh"

namespace Utilities {
    // Generate a random 4-digit number
    std::string generateRandomDigits(int length = 4);

    // Format date as YYYY-MM-DD
    std::string getCurrentDateString();

    // Format currency with ¥ symbol
    std::string formatCurrency(double amount);

    // Clear the console screen
    void clearScreen();

    // Pause the console
    void pressEnterToContinue();
}

#endif // UTILITIES_HH